import Layout from '@/views/layout/index.vue'
// 业务管理
export default {
  path: '/',
  component: Layout,
  redirect: '/dictionaryCenter',
  meta: { title: '系统管理',icon:'Tools' },
  children: [
    // 区域管理
    {
      path: '/dictionaryCenter',
      name: '',
      component: () => import('@/views/system/dictionaryCenter/index.vue'),
      meta: { title: '字典管理',icon:'Notebook' }
    },
    {
      path: '/enterPrise',
      name: '',
      component: () => import('@/views/system/noticeCenter/index.vue'),
      meta: { title: '通知中心' ,icon:'ChatDotRound'}
    },
    {
      path: '/systemLog',
      name: '',
      component: () => import('@/views/system/systemLog/index.vue'),
      meta: { title: '系统日志' ,icon:'Monitor'}
    },
    {
      path: '/rightsControl',
      name: '',
      meta: { title: '权限管理' ,icon:'Key'},
      children: [
        {
          path: '/userControl',
          name: '',
          component: () => import('@/views/system/powerCenter/userControl/index.vue'),
          meta: { title: '用户管理' ,icon:'Avatar'}
        },
        {
          path: '/roleControl',
          name: '',
          component: () => import('@/views/system/powerCenter/roleControl/index.vue'),
          meta: { title: '角色管理',icon:'Cherry' }
        },
        {
          path: '/menuControl',
          name: '',
          component: () => import('@/views/system/powerCenter/menuControl/index.vue'),
          meta: { title: '菜单管理',icon:"Tickets" }
        },
        {
          path: '/departmentControl',
          name: '',
          component: () => import('@/views/system/powerCenter/departmentControl/index.vue'),
          meta: { title: '部门管理',icon:'OfficeBuilding' }
        },
        {
          path: '/stationControl',
          name: '',
          component: () => import('@/views/system/powerCenter/stationControl/index.vue'),
          meta: { title: '岗位管理',icon:'CreditCard' }
        }
      ]
    },
    {
      path: '/exitsystem',
      name: '',
      component: () => import('@/views/system/exitsystem/index.vue'),
      meta: {
        title:'退出系统'
      }
    }
  ]
}
